package com.yanqu.road.entity.union.cross;

import com.yanqu.road.entity.DataObject;

import java.util.Objects;

public class CrossUnionNotice extends DataObject {

	private String unionUid;

	private int type;

	private long userId;

	private String nickName;

	private long noticeTime;

	private String content;

	public String getUnionUid() {
		return unionUid;
	}

	public void setUnionUid(String unionUid) {
		if(!Objects.equals(this.unionUid, unionUid)) {
			this.unionUid = unionUid;
			setUpdateOption();
		}
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		if(this.type != type) {
			this.type = type;
			setUpdateOption();
		}
	}

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
		if(this.userId != userId) {
			this.userId = userId;
			setUpdateOption();
		}
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
		if(!Objects.equals(this.nickName, nickName)) {
			this.nickName = nickName;
			setUpdateOption();
		}
    }

    public long getNoticeTime() {
		return noticeTime;
	}

	public void setNoticeTime(long noticeTime) {
		if(this.noticeTime != noticeTime) {
			this.noticeTime = noticeTime;
			setUpdateOption();
		}
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		if(!Objects.equals(this.content, content)) {
			this.content = content;
			setUpdateOption();
		}
	}
}
